function loadCart() {
  var currentDate = new Date();
  var week = currentDate.getDay();
  var hour = currentDate.getHours();
  // if ((week == 2 || week == 5)&&hour==0) //每周二、五凌晨清空购物车，避免产生永久缓存数据    
  //    wx.clearStorage();
  
  var that = this;
  wx.getStorage({
    key: 'cart',
    complete(res) {
      if (res.data) {
        return res.data;
        // that.setData({
        //   cart: res.data,
        //   hasList:true,
        //   isLoadOver: true
        // });
      }else{
        return [];
      }
    }
  })
}